package cn.iocoder.yudao.module.ao.controller.admin.building.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 建筑物信息分页 Request VO")
@Data
public class BuildingPageReqVO extends PageParam {

    @Schema(description = "学校ID", example = "22172")
    private Long schoolId;

    @Schema(description = "建筑物名称", example = "张三")
    private String buildingName;

    @Schema(description = "建筑物编码")
    private String buildingCode;

    @Schema(description = "建筑类型（教学楼/实验楼/办公楼/宿舍楼）", example = "2")
    private String buildingType;

    @Schema(description = "楼层数", example = "28142")
    private Integer floorCount;

    @Schema(description = "具体位置")
    private String address;

    @Schema(description = "管理员ID", example = "19311")
    private Long managerId;

    @Schema(description = "建筑描述", example = "随便")
    private String description;

    @Schema(description = "状态（0正常 1维修 2停用）", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}